import java.util.Scanner;
public class Zuoye9 {
    public static void main(String[] args){
        Scanner scan=new Scanner(System.in);
        System.out.println("请输入一个大于6的偶数：");
        int m=scan.nextInt();
        if(m%2!=0 || m<=6) {
            System.out.println("输入错误!");
        }
        for(int n=2;n<=m;n++){
            for(int y=m;y>n;y--){
                if(fan(n)&&fan(y)){
                    if(n+y==m) {
                        System.out.print(m+"="+y+"+"+n+" ");
                        System.out.print("\n");
                    }
                }
            }
        }
        scan.close();
    }
    public static boolean fan(int x){		//素数判断
        for(int i=2;i<x;i++){
            if(x%i==0){
                return false;
            }
        }
        return true;
    }
}
